package com.huangliusong.desigin.pattern.creational.singleton;



/**
 * @author huangliusong
 * @since 2018/10/10
 * {@link }
 */
public class T implements  Runnable {
    public void run() {
       // LazyDoubleCheckSingleton lazyDoubleCheckSingleton=LazyDoubleCheckSingleton.getInstance();
        //StaticInnerClassSingleton staticInnerClassSingleton=StaticInnerClassSingleton.getInstance();
        //System.err.println(Thread.currentThread().getName()+" "+staticInnerClassSingleton);
//        ContainerSingleton.putInstance("obj",new Object());
//        Object instace=ContainerSingleton.getInstance("obj");

        ThreadLocalInstance instace=ThreadLocalInstance.getInstance();

        System.err.println(instace);
    }
}
